<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.prime.com.tr/ui">

    <h:head>
        <title><h:outputText value="DHP System" /></title>
        <meta content='text/html; charset=UTF-8' http-equiv="Content-Type" />
        <style>
            * {
                font-size: 1em;
            }
        </style>
    </h:head>

    <h:body>

        <p:toolbar>
            <p:toolbarGroup align="left">
                <h:outputText value="DHP System" />
            </p:toolbarGroup>
        </p:toolbar>

        <h:form id="growlForm" prependId="false">
            <p:growl globalOnly="true" />
        </h:form>

        <h:form id="topForm" style="float: right; color: dimgrey">

            <h:outputText value="#{principalAction.usuarioSession.usuarioVo.email}"/>

            <p:spacer style="height: 15px"/>

            <p:commandButton title="Sair" ajax="false"  image="ui-icon ui-icon-power"
                             style="width: 30px; height: 30px"
                             action="#{principalAction.sair}"  /> 
            
        </h:form>

        <p:spacer height="25px"/>

        <p:separator style="height: 3px" />
        
        <ui:insert name="screen" />

    </h:body>

</html>
